package ${daoPackage};

import java.util.List;

import ${pojoPackage}.${className_d}Dto;

/**
 * tableName:${className}
 */
public interface ${className_d}IDao {
	
	public List<${className_d}Dto> get${className_d}ByCondition(${className_d}Dto ${className_x}Dto) throws Exception;
	
	public ${className_d}Dto get${className_d}(${className_d}Dto ${className_x}Dto) throws Exception;
	
	public List<${className_d}Dto> get${className_d}ByByPaging(${className_d}Dto ${className_x}Dto);
	
	public Integer getCount${className_d}(${className_d}Dto ${className_x}Dto);
	
	public ${className_d}Dto get${className_d}ById(String id) throws Exception;
	
	public Integer insert${className_d}(${className_d}Dto ${className_x}Dto) throws Exception;
	
	public String batchInsert${className_d}(List<${className_d}Dto> ${className_x}Dto) throws Exception;
	
	public void delete${className_d}(String key) throws Exception;
	
	public void deleteAll() throws Exception;
	
	public void delete${className_d}ByCondition(${className_d}Dto ${className_x}Dto) throws Exception;
	
	public void modify${className_d}(${className_d}Dto ${className_x}Dto) throws Exception;
	
}
